Feature: Member view statement
  In order to view recently added message
  As a member
  I want to try to view my statement

@member_view_statement
Scenario:  Member want to view statement
    Given the following user record
    |firstname|lastname|surname|login|email| password|password_confirmation| role |
    |user|user|user|user|user@sad.com|user1234|user1234|member|
    |member|member|member|member|member@sad.com|user1234|user1234|member|
    Given the following category record
    |title|
    |A|
    |B|
    Given the following statement record for testing
    |message|agree|disagree|category|
    |I need to fix my statement|10|100|1|
    |I need to go to cikarang|100|10|2|
    And I login as "member" with password "user1234"
    Then I should see "You are login as member member"
    When I want to look at my statement that has been added recently, I click on "my issue" page
    And I will see 3 link that are "Statement","Badday", and "Question"
    And I click on "Statement"
    Then I Should see "Statement" and "Category" pagination